//
//  EZAutoreleasePool.h
//  zhaitu
//
//  Created by ellzu on 13-8-3.
//  Copyright (c) 2013年 ellzu. All rights reserved.
//

#ifndef __zhaitu__EZAutoreleasePool__
#define __zhaitu__EZAutoreleasePool__

#include <iostream>
#include "EZTallyObject.h"
#include "EZTallyArray.h"

namespace EZTally {
    
    
    class EZAutoreleasePool : public EZTallyObject
    {
    private:
    protected:
        
        EZTallyArray<EZTallyObject*> objects;
    public:
        EZAutoreleasePool();
        ~EZAutoreleasePool();
        
        int AddObject(EZTallyObject *object);
    };
}

#endif /* defined(__zhaitu__EZAutoreleasePool__) */
